[INFO] fetching crate ra_ap_syntax 0.0.104...
[INFO] checking ra_ap_syntax-0.0.104 against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] extracting crate ra_ap_syntax 0.0.104 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate ra_ap_syntax 0.0.104 on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ra_ap_syntax 0.0.104
[INFO] finished tweaking crates.io crate ra_ap_syntax 0.0.104
[INFO] tweaked toml for crates.io crate ra_ap_syntax 0.0.104 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ungrammar v1.16.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 81047a26bc172c6a56d21d9b68f6c49c4d7815b66e5f49b232b182041d74c19a
[INFO] running `Command { std: "docker" "start" "-a" "81047a26bc172c6a56d21d9b68f6c49c4d7815b66e5f49b232b182041d74c19a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "81047a26bc172c6a56d21d9b68f6c49c4d7815b66e5f49b232b182041d74c19a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81047a26bc172c6a56d21d9b68f6c49c4d7815b66e5f49b232b182041d74c19a", kill_on_drop: false }`
[INFO] [stdout] 81047a26bc172c6a56d21d9b68f6c49c4d7815b66e5f49b232b182041d74c19a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d84c1562ede218f764fcec9e1ff076e7583342606ca6f9368ad9b7f3fc7b6651
[INFO] running `Command { std: "docker" "start" "-a" "d84c1562ede218f764fcec9e1ff076e7583342606ca6f9368ad9b7f3fc7b6651", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.10
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking hashbrown v0.12.1
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking either v1.7.0
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]     Checking unicode-xid v0.2.3
[INFO] [stderr]     Checking text-size v1.1.0
[INFO] [stderr]     Checking ra_ap_la-arena v0.0.104
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]     Checking ra_ap_limit v0.0.104
[INFO] [stderr]     Checking drop_bomb v0.1.5
[INFO] [stderr]     Checking unicode-ident v1.0.1
[INFO] [stderr]     Checking cov-mark v2.0.0-pre.1
[INFO] [stderr]     Checking dissimilar v1.0.4
[INFO] [stderr]     Checking ungrammar v1.16.1
[INFO] [stderr]     Checking rustc-ap-rustc_lexer v725.0.0
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking expect-test v1.3.0
[INFO] [stderr]     Checking ra_ap_parser v0.0.104
[INFO] [stderr]     Checking crossbeam-channel v0.5.5
[INFO] [stderr]     Checking always-assert v0.1.2
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.9
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]     Checking ra_ap_text_edit v0.0.104
[INFO] [stderr]     Checking perf-event-open-sys v1.0.1
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking ra_ap_stdx v0.0.104
[INFO] [stderr]     Checking smol_str v0.1.23
[INFO] [stderr]     Checking perf-event v0.4.7
[INFO] [stderr]     Checking dashmap v5.3.4
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking countme v3.0.1
[INFO] [stderr]     Checking rowan v0.15.5
[INFO] [stderr]     Checking ra_ap_profile v0.0.104
[INFO] [stderr]     Checking ra_ap_syntax v0.0.104 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated associated function `rowan::SyntaxToken::<L>::ancestors`: use `SyntaxToken::parent_ancestors` instead
[INFO] [stdout]   --> src/algo.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 |         .map(|token| token.ancestors())
[INFO] [stdout]    |                            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]    --> src/parsing/reparsing.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |     use test_utils::{assert_eq_text, extract_range};
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `test_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]   --> src/tests.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use test_utils::{bench, bench_fixture, project_root};
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `test_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_text`
[INFO] [stdout]    --> src/parsing/reparsing.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |         assert_eq_text!(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         sourcegen::project_root().join("crates/parser/src/syntax_kind/generated.rs");
[INFO] [stdout]    |         ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     sourcegen::ensure_file_contents(syntax_kinds_file.as_path(), &syntax_kinds);
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         sourcegen::project_root().join("crates/syntax/src/ast/generated/tokens.rs");
[INFO] [stdout]    |         ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     sourcegen::ensure_file_contents(ast_tokens_file.as_path(), &ast_tokens);
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let ast_nodes_file = sourcegen::project_root().join("crates/syntax/src/ast/generated/nodes.rs");
[INFO] [stdout]    |                          ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     sourcegen::ensure_file_contents(ast_nodes_file.as_path(), &ast_nodes);
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     sourcegen::add_preamble(
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen_ast.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         sourcegen::reformat(
[INFO] [stdout]    |         ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:331:15
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let res = sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(res));
[INFO] [stdout]     |               ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:331:56
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let res = sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(res));
[INFO] [stdout]     |                                                        ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:469:5
[INFO] [stdout]     |
[INFO] [stdout] 469 |     sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(ast.to_string()))
[INFO] [stdout]     |     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]    --> src/tests/sourcegen_ast.rs:469:46
[INFO] [stdout]     |
[INFO] [stdout] 469 |     sourcegen::add_preamble("sourcegen_ast", sourcegen::reformat(ast.to_string()))
[INFO] [stdout]     |                                              ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sourcegen` in the list of imported crates
[INFO] [stdout]   --> src/tests.rs:82:23
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let mut files = ::sourcegen::list_rust_files(&crates_dir);
[INFO] [stdout]    |                       ^^^^^^^^^ could not find `sourcegen` in the list of imported crates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `rowan::SyntaxToken::<L>::ancestors`: use `SyntaxToken::parent_ancestors` instead
[INFO] [stdout]   --> src/algo.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 |         .map(|token| token.ancestors())
[INFO] [stdout]    |                            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/tests.rs:95:22
[INFO] [stdout]    |
[INFO] [stdout] 95 |         .filter_map(|file| {
[INFO] [stdout]    |                      ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `std::path::Path`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]    = note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    = help: unsized fn params are gated as an unstable feature
[INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size
[INFO] [stdout]    |
[INFO] [stdout] 95 |         .filter_map(|&file| {
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/tests.rs:99:34
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 Err(err) => Some((file, err)),
[INFO] [stdout]    |                             ---- ^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `std::path::Path`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]    = note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    = note: only the last element of a tuple may have a dynamically sized type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/tests.rs:99:29
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 Err(err) => Some((file, err)),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `std::path::Path`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]    = note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    = note: only the last element of a tuple may have a dynamically sized type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/tests.rs:98:26
[INFO] [stdout]    |
[INFO] [stdout] 98 |                 Ok(_) => None,
[INFO] [stdout]    |                          ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: within `std::path::Path`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]    = note: required because it appears within the type `std::path::Path`
[INFO] [stdout]    = note: only the last element of a tuple may have a dynamically sized type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]   --> src/tests.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rayon::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ra_ap_syntax` due to 21 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d84c1562ede218f764fcec9e1ff076e7583342606ca6f9368ad9b7f3fc7b6651", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d84c1562ede218f764fcec9e1ff076e7583342606ca6f9368ad9b7f3fc7b6651", kill_on_drop: false }`
[INFO] [stdout] d84c1562ede218f764fcec9e1ff076e7583342606ca6f9368ad9b7f3fc7b6651
